WPPayForm\App\Hooks\Handlers\SubmissionHandler D

Total Complexity 138
Dependencies 14
Dependents 1
Total lines 742
Lines of code 591
Logical lines of code 341
Comment lines 34
Methods 13
Properties 6

Methods 13

Method Rating Maintainability Complexity Lines of code
handleSubmission()
D
17
48 245
validate()
D
32 38 83
getSubscriptionLine()
B
37 15 73
getPaymentLine()
A
42 10 53
getSubDonationLine()
S
48 5 31
sanitizeFormData()
S
51 5 29
getItemQuantity()
S
61 5 12
getErrorLabel()
S
62 3 11
paymentHandelerAfterHundredDiscount()
S
55 2 20
getIp()
S
67 3 8
paymentValidate()
S
63 2 10
getHash()
S
65 1 8
sendSubmissionConfirmation()
S
66 1 8